package com.hqyj.pojo;
/*定义数据模型*/
public class DataMessage {
    //定义存储的数据,要能包含所有的java的数据类型
    private Object data;
    //定义提示信息
    private String info;
    //定义成功失败的标志;
    private boolean success;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
}
